Changed List<HttpHeader> to a custom dictionary