Added HTTP connection timeouts

This change prevents an infinite wait in a connection object used in an HTTP notification.
 
We have observed Jenkins builds getting stuck in an uninterruptible state while trying to send a notification while following an HTTP redirect.