Raising a callback for every header line instead of whole header. Also removed some debug messages.