Router Dealer support

Hey Claude
I am working on a project which is using 0MQ as transport and requires Dealer / Router support. I took a first stab and come up with this, Could please check and see if we can have something similar to master ?

Do share your feedback 
Thanks
Rahul