use basestring instead of StringTypes
http_server_example encodes output, remove mul/div
make setup.py python3 aware

Tests pass and examples work ok with a python 3.3 build,
unfortunately 2to3 invocation is not triggered on setup.py test (yet)