Add connectionGetExact function (fixes #9)