fix regex and prepare package.json
Add dummy ssl certs.  Support https configuration.
fix regex