fix #13, handling of long headers with multibyte unicode characters