The node you are looking for is at
gnutls_handshake_set_private_extensions
.