Set options of socket.io client