NetMQActor and Poller refactoring

fix #182  and fix #181.

Ready to be merged.