Logging and ControlInterface collision avoidance

Also a new test where ping is initiated before authentication. Currently it fails because <tt>ConnectionPool</tt> can store only one connection at a time. (One is added in <tt>InterfaceHandler::operator(...)</tt> and the other in <tt>Connection::handle_auth(...)</tt>)