httpc: Change header names to titlecase when preparing headers