in reply to SSL

You might be looking for Stunnel.
mkmcconn