(TK-31) Make header size configurable for proxy

Allow the user to configure the request header size for a proxy
request.