Queries (input) should be case insensitive

http://tools.ietf.org/html/rfc4343#ref-STD13