Fix method context validation error messages

Summary: Closes https://github.com/facebook/hhvm/pull/3563

Reviewed By: @sgolemon

Differential Revision: D1516925
check EAGAIN & EINTR in recv

Summary: Closes https://github.com/facebook/hhvm/pull/3596

Reviewed By: @ptarjan

Differential Revision: D1522408

Pulled By: @sgolemon