Merge changes I4a8f1804,I3aa44c5a

* changes:
  SocketListener: use poll() instead of select()
  libsysutils: add some rudimentary tests