Added initial connection to Socket.io server