exception handling
Merge github.com:tohsiokaihoko/imap_websocket_server