shared_ptr<Connection> -> const shared_ptr<Connection>&