New version
Added the support of smart-stream
adding the support of security error