adds: possibility to set headers while initializing API connection