Implement redirect following and get_header()