Added Optional HTTPS Support

Not sure is this will help but I had issues including nirc across sites that use https, I have added optional support you will need change ssl to true and change paths for key/cert files.

(Still very new to this so any constructive criticism welcome)