Add SNI settings for SSL URLs that are proxied, fixes #3204