Sockets usage

I added `ext-sockets` to the require-dev section of the composer.json because even if this can be used without the `sockets` extension when in development tests can't run without it.

I also updated the documentation to explain how to obtain the `sockets` extension even if was not built with PHP.