Added headers handling to geocoder