libclient: instead of returning a single message per request, returns a struct with more info
the struct must at least contain:
- the HTTP code
- the error message
Maybe we also want to add the native object from resty or go net.
HTTP status codes:
Edited by Florent Gluck