Handshake response which sends basic info to the client

Closes #84 
Since this is a handshake, I am thinking the client will wait for the server to respond synchronously. The client should ideally not proceed to do other things unless the handshake goes through fine and gives it enough info about the server's status. This info can be used going forward to set the client state as well, for example enable/disable buttons.