Fix connect options passing.