style(headers): save a runtime search
refactor: put API opts in files prefixed with _