Fix https server

Running server with ```https: true``` throws ```ENOENT, no such file or directory 'certs/server.key'```