CurlClient: use CURLOPT_HEADERFUNCTION for headers grabbing [Ref #5]

Thanks to @mike503
StreamClient: explode headers by ':' only (without space)

Some developer local proxies modifies spaces around semicolon. It is allowed by RFC2616. One space is only recomended.