implemented ssl socket factory, updates to support v1.15