fixed a potential endless loop in SecureStreamSocketImpl::sendBytes()
  and also removed unnecessary code
updated CHANGELOG