Added basic networking support; players can register with the server.