SCALARIZR-1235 SNI client refactoring