Tests for timeouts requested in #1 - closes #1

Actually this only tests the read-timeout, couldn't come up with a
proper way to simulate connection delays.