hdbits gives 301 redirect when not using https url for api calls