Clean up HttpTransport to follow conventions in the fluent client docs

Some minor changes to improve code readability.