fixing socket.io bug behind proxy