Replaced the sockets extension with the one from PHP 5.4 to fix compile errors.

Signed-off-by: Kurt Cancemi <kurt@x64Architecture.com>