Send header one line at a time from curb adapter

When calling the on_header callback because this is how curb behaves.
Merge pull request #270 from mocoso/call-on-header-one-line-at-a-time

Send header one line at a time from curb adapter