Tolerate colon in header values

The current logic for parsing headers breaks if the value contains a colon (e.g. `-H Referer:http://example.com/`). This change splits the header on the first colon only, allowing the value part to include any colons that may be present.