TS-1937: Prevent assert on SSL forward proxy connect.