added stcp_socket for secure communication with ECDH