Made method static. Pulled out codec-http fix and will open another PR