static void apply(Observer& obs, const std::shared_ptr<Socket>& socket)
 {
   obs.connection_success(socket);
 }