tests pass when being explicit with on_headers_complete, possible fix for #11