debug: headers.
debug: headers again.
debug: get the fucker to report.
debug: get the fucker to report.
debug: get the fucker to report.
api: fix case bug when passing through headers.
debug: remove print statements.