Stacktrace hide fix

In testing I found that some errors were dumping a full stack trace when they were not supposed to, this fixes the issue.

Also adds a quick-n-dirty script I wrote to serve files over HTTPS for testing purposes.