Check for SSL_SESSION_new instead of DSA_get_default_method when looking for OpenSSL
Fixed HTTPRewrite compile error when debugging is disabled