tdmux is a tcp layer demultiplexer. It allows you to access mutiple tcp services through a single port. It currently supports HTTP, HTTPS, SSH protocols.
git clone https://github.com/Ahiknsr/tdmux
cd tdmux
mkdir -p _build && cd _build
cmake ../src
make
./server