nihil.headers: Implement header-append and additional tests