can now extract origin and parse headers correctly