Pass connection context to transaction execution

My approach on/Targets #563.