Rlwrap: A Readline Wrapper
github.com
github.com
And while I'm here: maybe you are unaware of `nohup`, which makes a lot of software that really expects a terminal for IO just sit in the background and do its job.
(Indeed I have both `nohup` and `rlwrap` in the same mental category of CLI wrapper-helpers.)
I tend to prefer using rlwrap, though; socat has a tendency to mess up your terminal if you SIGINT it. rlwrap does its job extremely well, except for the parenthesis matching flash (which I find annoying, but can be disabled with a config option).