Switch all api calls to https

Signed-off-by: Régis Caspar <regis.caspar@gmail.com>