Added encoding to HttpRequestHeader