more tests: encode_multipart
more tests: parse url, invalid port
Fix: in Python3 getheaders didn't return lower header key
clean tests, add redirect test