Refactor HTTP chunk decoding to separate func