store apache files as either config, error, access, lock, or hosts
factor out returning response, handle query strings by storing possible matches if necessary
fix query comparison, find longest substr match for nonexact query string requests, close connection if no match