adds handler to connection

For lower level functions such as being able to add function get column names, or whatever, it's useful to have a handler to the connection.