get application id from http headers