Added HTTP connection timeouts

I've added the option for connection timeouts. I've noticed that most of my HTTP problems come in the connection phase, rather than in the read phase. 

I also didn't find any tests that are affected by this. Have I missed anything?

Follow up from #31