ZSS-327: only clear the server-side paste flag when copy-paste (i.e
"ctrl+v")
Merge branch 'ZSS-327' into 3.0