Fixes "socket closed" bug and failing HTTPutils test

A request entity was returned by `httputils.fetch()`, then a finally block reset the request. This caused unpredictable behaviour with "Socket Closed" thrown by anything that read the entity body.

This also fixes the test failing on some platforms and machines (such as mine, and the Findwise Jenkins build server).

Fixes #302