implement addHeader and addHeaders
do not use emtpy() method return
Merge pull request #798 from mnlg/implement-add-headers

Implement addHeader and addHeaders