Gateway: search is case-insensitive.

Also relies on pull request #52.