Added method orig to get origin header