Adding -k (insecure) option to curl, which works behind a http proxy