corrected gzip content-encoding handling in PHP HTTP
fixed maptile builder