[lib/connection]Fix method-bind-ambiguity for clang.
Fix some clang-warnings.
[lib/client,connection]Use log-tags for logging in connection.