Added MasterServer functionality

The first game to open becomes the server and subsequent games connect
to it.

fixes #14