[WO-733] Cast unicode strings to pseudo-binary for SEARCH command

Fixes https://github.com/whiteout-io/imap-handler/pull/4