Allow query params in URLs when running under Node

Fixes #39