Host patch tested
+ Added host registration
+ Added type segregation for clients and servers