makes CC module work via HTTPS