Initial version of HTTPS support
Fixed broken test
Removed hardcoded certificate, so every user can supply their own
used Runtime exception instead of Error for #69