refactor: more elegant definition for header_value_any_of algorithm
refactor: removing redundant code
fix: headers gathering algorithm
add write_continue implementation
add example on how to handle write continue