Added functionality to use NSStreams with RNCryptor