Add an async-safe SecureRandom class.

This handles async-safe fetching of random data from /dev/random.