framework: refactor http and dataChan