load socket.io client script on same protocol as page