Move SSL code into package
Remove Preferences dependency
Move things into local
Local messages
Break dependencies