Better invalid SNI name error handling