Emit get requests from hostB in the example.
Add connect function to dual host.
Update mocksocket example.
Merge branch 'socketlib'