def ping
      if connected?
        condition = Celluloid::Condition.new
        @http.ping("whatever") { condition.signal(true) }
        condition.wait
      else
        false
      end
    end
def ping
      if connected?
        condition = Celluloid::Condition.new
        @http.ping("whatever") { condition.signal(true) }
        condition.wait
      else
        false
      end
    end
This performs a HTTP/2 PING to determine if the connection is actually alive. Be sure to not call this on a
 sleeping connection, or it will be guaranteed to fail.

 @note   This halts the caller thread until a reply is received. You should call this on a future and possibly set
         a timeout.

 @return [Boolean]
         whether or not a reply was received.