base socket encryption done - still testing it