Fixed "Reconnect" button not resetting the netcode properly.
Merge pull request #298 from fragmer/master

Fixed "Reconnect" button not resetting the netcode properly. Fixes #294