wait for HTTP servers to start accepting requests

avoids error messages in the proxy when servers are slow to start.
catch OSError/socket.error waiting for HTTPErrors

catches ECONNREFUSED
Merge pull request #63 from minrk/wait-http

wait for HTTP servers to start accepting requests