Move SSL Stuff to module

I moved the SSL Stuff to a module, so the copy pasted stuff in the modules is gone now.

Please give feedback over the module structure and if you want me to change something so this matches the rest of the framework structure.