Convert http-codec to decoder style