Add socket options to provider