Added HTTP timeout support