code: protected Handshake findHandshake(HttpRequest request) {
          for (Handshake handshake : this.handshakes) {
              if (handshake.matches( request )) {
                  return handshake;
              }
          }
  
          return null;
      }
docs: Locate a matching handshake version.
  
  @param request The HTTP request.
  @return The matching handshake, otherwise <code>null</code> if none
  match.