Handshake response which sends basic info to the client

Closes #84 
have a doubt: who will free string returned by `rb_dir_getwd` ? since we are creating a hash, does it get gc'ed automatically?