Package the connection and io text wrapper as a tuple and send it back