Merge change 4613

* changes:
  Performance improvement for OpenSSLSocketImpl in read and write