Non-functionality improvement in src/http.c.

Pulled `request_set_method` functionality into `request_new`
to ensure these functions always called in right order.
Fix typo in documentation.
src/utils.c cleanup