Use nodejs domains to handle uncaught errors gracefully.
Release 0.5.0.