handle lower case headers for header queries, handle blank header values