Attempt at supporting SNI