fix replica set socket options