Implement conn.connect()

And some tests
Prevent possible stack smashing in driverConnect
Check UV rwlock return codes
Better debug info in destructors