Update/styling

* Update code syntax style
* Refactor complex `Http#request` method