Client lib: reduce memory allocation calls and reduce cpu utilization with istream by using directly the first buffer of the io buffer to load properties, if possible. It is expected that the most common case would be that the response headers will fit into the fist io buffer. Use string::empty() instead of comparison with an empty string.