Federated Learning in Mobile Edge Computing: Optimization, Privacy, and Applications for Cybersecurity