socket changes to ssl implementation

commented out use of keystores until further notice