Work around HHVM not using SOCKET_EAGAIN