engine/views:

Handle http or https request when constructing urls in JSON results.