HTTPCORE-672: cleanup of H2 connection validation code