base socket encryption work in progress...