Fixed case part of bug #64874 ("json_decode handles whitespace and case-sensitivity incorrectly")
Implemented FR #65917 (getallheaders() is not supported by the built-in...)

- Implemented apache_request_headers() and getallheaders() alias in CLI server
- Implemented apache_response_headers() in CLI server using FastCGI code

Conflicts:
	NEWS
	UPGRADING
Rewrote test using tcp instead of http:// stream
Removed UPGRADING note

Conflicts:
	UPGRADING
This is CLI web server change.  Added some common MIME types to the
existing lookup list, pending a more thorough lookup solution, if
anyone wants to do that.  Ref http://news.php.net/php.internals/69990

A router can be used to add to, or override, the MIME type lookups,
see http://php.net/manual/en/features.commandline.webserver.php
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  This is CLI web server change.  Added some common MIME types to the existing lookup list, pending a more thorough lookup solution, if anyone wants to do that.  Ref http://news.php.net/php.internals/69990
Update NEWS
Merge branch 'PHP-5.6'

* PHP-5.6:
  Update NEWS
  This is CLI web server change.  Added some common MIME types to the existing lookup list, pending a more thorough lookup solution, if anyone wants to do that.  Ref http://news.php.net/php.internals/69990
Fixed Bug #66094 (unregister_tick_function tries to cast a Closure to a string)
Merge branch 'PHP-5.4' into PHP-5.5
Update NEWS
Merge branch 'PHP-5.5'
Merge branch 'PHP-5.5' into PHP-5.6
Merge branch 'PHP-5.6'
export more Zend API
Eliminated the TSRMLS_FETCH() in zend_set_memory_limit()
Merge branch 'master' into str_size_and_int64
fixed one more stat() occurrence
Merge branch 'JSONCaseFix' of git://github.com/TazeTSchnitzel/php-src into TazeTSchnitzel-JSONCaseFix
Merge branch 'PHP-5.6'