Reap incomming messages after registering them for polling.

When the event broker registers a socket for polling, the poll may
never trigger if a message has already been received because the
poll is level triggered. This is an easy fix. Just manually call
the input reaper function right after registering the socket.