change host and extract atoken from header