Fixed bug #65486 mysqli_poll() is broken on Win x64

While this issue is visible in mysqli_poll() functions, the cause
lays deeper in the stream to socket casting API. On Win x64 the
SOCKET datatype is a 64 or 32 bit unsigned, while on Linux/Unix-like
it's 32 bit signed integer. The game of casting 32 bit var to/from
64 bit pointer back and forth is the best way to break it.

Further more, while socket and file descriptors are always integers
on Linux, those are different things using different APIs on Windows.
Even though using integer instead of SOCKET might work on Windows, this
issue might need to be revamped more carefully later. By this time
this patch is tested well with phpt and apps and shows no regressions,
neither in mysqli_poll() nor in any other parts.
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #65486 mysqli_poll() is broken on Win x64
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed bug #65486 mysqli_poll() is broken on Win x64
remove always_populate_raw_post_data INI entries from master, UPGRADING.INTERNALS coming shortly
fix test
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix test
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix test
Merge branch 'PHP-5.5'

* PHP-5.5:
  fix test
Merge branch 'PHP-5.6'
Fixed bug #65784 (Segfault with finally).
Update NEWS for 5.5.7 release
Merge branch 'PHP-5.6'

Conflicts:
	NEWS
Disallowed JMP into a finally block.
Add Tests for #65784 in 5.5
Merge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6
Merge remote-tracking branch 'origin/PHP-5.5' into PHP-5.6
Merge remote-tracking branch 'origin/PHP-5.6'