Add head_flush() method to html response