default error event; emit wsh & call; fix utf8 bugs

Signed-off-by: Arnaud Richard <a.richard@webshell.io>