Upstream & Downstream: added utility function to send C strings