added parse_header function to Mojo::Util and fixed a few boundary and charset detection bugs