allow https links in api docs

fixes #2804