Closes #4 Add support for catching uncaught server exceptions

- Original work done by @rgould