socket: fix bug #65260 (SCM_RIGHTS)

The data for messages of type SOL_SOCKET/SCM_RIGHTS was not being
passed correctly. There were actually two bugs: (1) the number of file
descriptors being passed was being read incorrectly (the length of the
cmsg array was being read instead of that of its 'data' element), as a
result it was generally being reported as always three elements
('level', 'type' and 'data') and (2) the allocated block for writing
the file descriptors was being acessed incorrectly because a 1-based
counter was being used as if it was 0-based.

Any of these two bugs would probably be enough to cause heap
corruption.
socket: support unix paths in the abstract namespace

Those starting with '\0'.
NEWS for 710150c and e2744f1
Fixed typo ensuring header str is \0 terminated

This was obviously intended to send an empty header if
php_gmtime_r() fails. Currently it could send garbage.
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed typo ensuring header str is \0 terminated
Make zval2myslqnd implementations aware of inheritance
Merge branch 'PHP-5.4' into PHP-5.5
added sapi check for dl() test
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  added sapi check for dl() test
fix TS build
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix TS build
add news for xml fix
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  add news for xml fix
Fix bug #62129 - rfc1867 crashes php even though turned off

Patch by gxd305 at gmail dot com
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #62129 - rfc1867 crashes php even though turned off
Fixed bug #50308 - session id not appended properly for empty anchor tags

The issue was actually because a lack of space before a "/" marking the tag
as empty. This was being swallowed in the rule for unquoted values. Fixed
by making that rule exclude quotes (as per spec anyway).
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #50308 - session id not appended properly for empty anchor tags
regenerate url scanner
5.4.19 is next
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  5.4.19 is next

Conflicts:
	configure.in
	main/php_version.h