completed first ssl implementation for osx