fix doc and travis build

All test working also in hhvm with the exception of TCP_NODELAY constant. Since this is a hhvm issue, I think this can be merged so that it gets executed on any new commit as well.

Also did a minor change in doc so that newcomers always will get latest 2.2.* tag from packagist