Decode URI and query string. This fixes issue #3.