ssl changes

@wadey