I added check-sni example.domain.com sni str(example.domain.com) to the HAProxy configuration to get this working
check-sni example.domain.com sni str(example.domain.com)