add xml parsing (beginning), and custom headers in settings