client_test: explore float32 case
client: improve endpoint validation
client: simplify switch case in queryString

Well, Go is not C.