code: def revert_to_clear(tds_sock):
      
      enc_conn = tds_sock.conn.sock
      clear_conn = enc_conn._transport
      enc_conn.shutdown()
      tds_sock.conn.sock = clear_conn
      tds_sock._writer._transport = clear_conn
      tds_sock._reader._transport = clear_conn
docs: Reverts connection back to non-encrypted mode
      Used when client sent ENCRYPT_OFF flag
      @param tds_sock:
      @return: