Simple connection manager for iOS based on AFNetworking written in Swift language