User can now freely send messages to the server.
Extracting the socket.io code into __dirname + /helpers/io.js to prevent cluttering in app.js.
Extracting connection logic (from main view) into it's own file.