draft tunnel implementation
Alexander Gall's prepend_iovec&coalesce and my make_deep_copy