Added a debug option to display to console on incoming messages
Added a test.js file to test the client
Implemented SSL layer ontop with the secure function