Created a connection class to manage the socket, send and receive messages. Included test script to show how it works.
Merge remote-tracking branch 'refs/remotes/origin/master'