fixed some issues in NetworkStream and SslStream implementation for Silverlight