Only request for socket.io script when needed