create root CA on startup
automatic acceptance of SSL certificates works
some refactoring
Merge pull request #6 from headissue/automaticSSLcertificates

Automatic ssl certificates