Also adds missing licenses to header.go, v2/header.go, v2/header_test.go. This reverts commit 5d9b035.