JDK 7 compatibility
support for transactional http api
added autocommit and manual committed transactions
fixed scanning for errors after sucessful iteration