Clean up HttpTransport to follow conventions in the fluent client docs

Some minor changes to improve code readability.
small style nit: since we're chaining calls here, can we put `.discardContent()` on the next line?