Expose both callback-based and Task based for Connection writes