fix socket.io proxying stuff