added support for default address in client ("localhost") and closing the socket in both client and server - I couldn't check the changes because of bad connection to nova (bad WIFI)
Let me know if you need anymore help, Please check the 'Q' command in the client (i have't tested that also)