http client: made pipelining optional