Completely change the way it works. Change method signatures and interpretation of null arguments. Add the fromString method and tests.
Fix host parsing.
Make the patterns static fields instead of local vars.
Extract the CreateHostHeaderValueNoCheck method. Move the host pattern check to CreateHostHeaderValue.
Move the port pattern check to CreateHostHeaderValue. Allow string values of port.
Fix default host header calculation for DefaultClientConnector.
Docs