Create a connection to a host and port, transfer data in STDIO to connected host

socat

socat - TCP4:www.example.com:80

click the source code to copy install socat on any operating system with command-not-found.com