Timeout

I had some time to kill in the airport today. Fixes #11.
Note that this uses the length of the content as it was received instead of the Content-Length header.