Support for OR in http queries

Also added support for startswith operator in db queries