normalize header values to bytes
fix ftp test cases
Merge pull request #828 from dangra/string-headers

normalize header values to bytes (and PY3)