encode the http request header and decode it in the remote proxy server.

Signed-off-by: vulcan.lin <ssjmhyvi@gmail.com>