Remove console.log
Add the possibility to send additional headers