This import might mean that you have to convert something in this class, since you generally shouldn't mix the apache and javax SSLSocketFactory classes.