Added gnutls dependency

The code has been changed to use gnutls instead of openssl for licensing reasons.