parse valueless GET parameters

GET parameters without a value in the URL are not parsed without
this patch; for example `?a&b=1` results in `a` not being included
in the GET params dictionary at all, whereas a NULL value should
probably be present
Null check before release as well as parse valueless GET parameters