Add an extra endpoint to ret and make GET return the params

- `server/get?param1=1` now returns a json formatted set of values.
- Added `server/id` as an endpoint returning `id` where id is anything not previously used as an endpoint.