This is a basic framework for handling connections to a battlefield server (until it will handle other games)