Simulating timeout on socket

We have implemented a package with XML-RPC Client with timeout, and we want to test if the timeout is correctly working.

With this patch we simulate the socket timeout in HTTPretty.