fixed typo in the include guard
removed experimental code relating to handling EAGAIN