Add setHeaders option

closes #5