Make all requests to the API over SSL

@solace @lukecarbis