Serve over SSL if certs are present, set cache control header