Added Https and changed http and https server to register as module

This changes address 
https://github.com/linnovate/mean/issues/677 and
https://github.com/linnovate/mean/issues/707

I will also create a pull request also in mean so config will match