Added ClientStateListener and ConnectionListener interfaces.

This is where the error is. Disconnects the client for some reason. Both are commented out where they are added to myClient and myServer. Uncomment and there is an error.