setup socket.io
add io.configure for production
update socket.io connect origin with window.location.origin