added custom X-headers X-BPS1 and X-BPS2 to detection and output