Fix for specifying querystring without extra params

The bug was introduced in the move to ring-codec as the nil
behaviour differed in form-encode