trying new codec idea, apated HTTP codec for using it