check for empty params

Am writing a etcd client, the server throws a http 5** error when a questionmark is added without params.

So this is needed.