From here: https://github.com/Valodim/zsh-socat-completion/blob/3c564c995bd145c92621c6ae51d55f06f0285d66/_socat