refactor http to use SimpleChannelInboundHandler