using ssl3
fixing all the little bugs