afb-ws: fix of handling EAGAIN for websockets