got ssl pinning to work when hardcoded