Commit 0dfdf19b64 introduced a regression because the connection header is now parsed and checked depending on the configured options, but the options are set after calling it instead of being set before.
0dfdf19b64