fix detection of SSLVERSION and HTTP_VERSION options