gnutls: implement ALPN properties

Implement GTlsConnection:advertised-protocols and
:negotiated-protocol.

Originally implemented by Dan Winship <danw@gnome.org>
1 job from wip/alpn in 2 minutes and 28 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #165390
build_stable

00:02:28

 
Name Stage Failure
failed
build_stable Test
/builds/shutton/glib-networking/build/../tls/tests/connection.c:2101: undefined reference to `g_tls_connection_set_advertised_protocols'
/usr/bin/ld: /builds/shutton/glib-networking/build/../tls/tests/connection.c:2113: undefined reference to `g_tls_connection_get_negotiated_protocol'
/usr/bin/ld: /builds/shutton/glib-networking/build/../tls/tests/connection.c:2114: undefined reference to `g_tls_connection_get_negotiated_protocol'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Uploading artifacts...
WARNING: build/test-results: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1