Minor: indent
Minor: indent
Fix #1933 "Incorrect check on headers in Connection"

- clarify method names to reflect header case and use
- indent