socket_shutdown should stop read and write

As we are closing this connection on the next line, socket_shutdown should stop reading and writing. Removed additional parameter to reflect default PHP behaviour.
Merge pull request #1 from Nick-Adams-AU/patch-1

socket_shutdown should stop read and write