I have established a secure connection to a web server using BouncyCastle TlsClientProtocol and it gave me a System.IO.Stream which I can read and write to, the following code w