fix some things
add basic public interface to some sslSocket functionality