Connection pooling

this is my first (public) attempt to solve connection pooling for #49

am I on the right track?

obviously I would add setting size and disabling.