Raise error on unexpected EOF.

Fixes infinite read() loop in the case where the server closes the
connection without sending a valid HTTP response.
Normalize URI path
Refactor support/example_server
Fix handling of EOF in Client#readpartial
Merge pull request #166 from tarcieri/fix/eof-handling

Fix/eof handling