Fixed changelog and made docs/conf.py py3k compatible.
Code cleanup. Removed APIs deprecated in 0.12
Fewer unclosed socket warnings in tests.