Add PHP sockets extension to composer.json

Hi,

I'm new to the library so forgive me if this has already been covered.

I ran into trouble running the benchmark because the sockets extension was not enabled by default on my PHP build. Should it be in `require` or maybe just in `suggest`? In my opinion it should be in there somwhere.

I also added `composer.lock` to `.gitignore`.

M