Fix RequestFactory and apache_request_headers incompatibility (HHVM bug #985)