Generate random data with GnuTLS if available

This increase security if GnuTLS is used.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>