fixing socket.io for external clients