Expose the SNI when possible. (#2943)