gnutls_handshake_set_timeout added in gnutls 3.1.0

(need to add handshake timeout for previous gnutls versions?)