removing port info for socket.io call