A simple interface for securely sending encrypted messages over TCP