Better headers

Refactors `tiletype.headers()` to accept a buffer. Enables other modules to properly detect pbf+gzip.

cc @jfirebaugh