Merged on_head, on_body and on_chunk into one on_data
Now status handlers work as expected
Updated all the things for API changes