Proxy error: remote error: tls: handshake failure

One thing which I’m not sure if it has to do with this:

I’ve tested the Keyless API example which comes with the repo, the following curl shows that the “origin” is set to the server IP rather than the domain name which I’ve defined in the API .json file as the “domain_name”. The target server checks this origin name field probably and disqualifies if the value is not the expected domain name apis.mysite.net, how can I force Tyk to set the origin value properly in the outgoing requests?

curl https://apis.mysite.net/keyless-test/get
{
“args”: {},
“headers”: {
“Accept”: “/”,
“Accept-Encoding”: “gzip”,
“Custom-Header”: “hello world”,
“Custom-Uid”: “1e2ea02f-c31a-46f8-a036-f63a9680668b”,
“Host”: “httpbin.org”,
“User-Agent”: “curl/7.29.0”,
“X-Amzn-Trace-Id”: “Root=1-60bde6a2-76ff3003707bd9a304fa750a”
},
“origin”: “172.10.0.1”,
“url”: “https://httpbin.org/get
}