Support reading multiple events that has queued up on the socket.
Merge pull request #1 from martenbohlin/master

Support reading multiple events that has queued up on the socket.