added support for ssl, added basic environment handling ( run nodejs server.js prod )