handling bad status codes, custom value encoding, added examples, alias for stream methods