reduce computation when using cipher key
add type check in Ext.escape so it won't segfault
tweak session verify => decipher order