add user-agent and accept-encoding to default headers for safari