broker: add socket timeout

Some refactoring broke code that applied a timeout to the listening
socket select() calls, causing 100% cpu usage.  This patch fixes it.

Change-Id: Ieca99b0de2c66c1dfb7dd9563072f839cd3b01cf
Signed-off-by: Greg Padgett <gpadgett@redhat.com>