added cross origin fix for socket.io