refine logging
fix error caused by ClientAdapter
fix error caused by SocketFacade
change dtor accessible modifier
remove unused files
finally, it passed compilation