Hoa\Socket API has changed. Update.

This is a consequence of https://github.com/hoaproject/Socket/pull/6. Must be merged when the one from `Hoa\Socket` will be merged.