Added ssl status to JSON.
Added headers to payload.
Fixed problem where map of headers was being incorrectly built.
Made ssl-only an environment controllable configuration.
Added https connection to service from the apigee side.