added encoding and cors filters
encoding filter
added decoder to handle gzip'd input