Handle AMZ headers