add connectSync method

add tests - not implementing anything too useful,
pretty much copied what existing mysql instrumentation did.