Gnutls restore

As part of fixing #12, we need gnutls support back in the tree. More work should be done to fix cross-server linking in #12, but this restores gnutls support that was removed in f2d58c6 and 6a25507.