Fixes for james review comments
Merge
Merge branch 'domain-support' of github.com:bugsnag/bugsnag-node into domain-support