Fixed host address mangling bug at client.cpp:48