Make SNI dependencies conditional