Earlier quoted context omitted.
Depending on your version of nc, -c is for sending CRLFs or executing sent data as commands. You might be looking for ncat instead.
In OpenBSD nc (as GP mentioned), -c is for a TLS connection: https://man.openbsd.org/nc.1
- netcat-traditional http://www.stearns.org/nc/
- netcat-openbsd : https://github.com/openbsd/src/blob/master/usr.bin/nc/netcat... (also packaged in Debian)
- ncat https://nmap.org/ncat/
- netcat GNU: https://netcat.sourceforge.net/ (quite rare)
To prevent any confusion, I like to recommend socat: http://www.dest-unreach.org/socat/