Implemented FR #65917 (getallheaders() is not supported by the built-in web server)

Also implements apache_response_headers(). Note that apache_request_headers() is the real name of getallheaders(), the latter is an alias.

https://bugs.php.net/bug.php?id=65917