use OpenSSL::Digest (fixes deprecation warning in ruby 2.1)
fixed HTTPI md5 header