#488 Refactored generation of examples in browseable api and links to support https when required.