Support multi-search API in the native client

Fixes #41.