added socket_timeout to http module