Add idiomatic JDBC iterators to JDBC support

This patch changes the JDBC serializer to use "correct" JDBC-level chunking, effectively simplifying the design.

This pull request is based on top of my previous request, and requires the previous request