The Robustness of Spiking Neural Networks in Communication and its Application towards Network Efficiency in Federated Learning