Fixed a bug where there were two identical connections being opened instead of just one.
Updated game logic to tie into the network code.