remove python 2.4, 2.5 compat
use synchronous send for requests
remove locking and output buffering, add some unit tests