added optional https

I was using nirc on a subdomain when including onto the main domain the content was insecure. 

Edited server.js to include support for https server, you will need to point it towards your key/cert files.

(constructive criticism is very welcome, new to all this)