bugfix in non-huffman case
renamed struct context to context_http due to confusing naming