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
Merge branch 'CLIGetAllHeadersBackport' into PHP-5.5

* CLIGetAllHeadersBackport:
  Removed UPGRADING note
  Rewrote test using tcp instead of http:// stream
  Implemented FR #65917 (getallheaders() is not supported by the built-in...)
Updated NEWS
avoid doing a stream_select on a closed stream
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  avoid doing a stream_select on a closed stream
Fixed tests that fail with non-default `serialize_precision` configurations.

See:

 * https://bugs.php.net/bug.php?id=64760
 * 4dc4302
Fixed tests that fail with non-default `serialize_precision` configurations.

See:

 * https://bugs.php.net/bug.php?id=64760
 * 4dc4302
added a test to cover distinction between boolean return value of unserialize function and deserializing serialized boolean
Fix WS in serialization_error_002.phpt
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  added a test to cover distinction between boolean return value of unserialize function and deserializing serialized boolean
permanently deactivate that place, not on runtime only

besides the two "if" checks, this fixes static analyze which is sometimes
broken because of this
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  permanently deactivate that place, not on runtime only
Fix for Bug #66124 (mysqli under mysqlnd loses precision when bind_param with 'i')
Merge branch 'PHP-5.4' into PHP-5.5
And here is the real fix for #66124
Merge branch 'PHP-5.4' into PHP-5.5
fixed test
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed test