Modified mod_dims to allow for https in addition to http urls.