hack to support http chunk for spdy, this is useful in client.