Merge pull request #4 from untitaker/python3

Fixed remaining iterating-related stuff.
Merge pull request #5 from untitaker/python3

long is gone in Py3, use six.integer_types
first experiment with bytes<>wsgi conversations, fixes http auth header test~
FTFY