socket_last_error requires the socket extension to be enabled @see Wrench\Socket\Socket.php

The call to @socket_last_error crashes when the socket extension is not enabled.