Add a new function get_custom_headers