Added usage of ExPendingCommandFactory in connection including wrapping
around existing pending command factory types to support temporary
backwards compatibility.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>