Add setHeaders method
Add write shortcut
Update readme