POST and GET HTTP requests with IP authentication

i use this code but static IP through this error " failed to get - original error - write EPROTO 140462069368640:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:…/deps/openssl/openssl/ssl/record/ssl3_record.c:332: "