Adding aditional style option
Adding some error handling to socket.io