Extract setting http headers into its own method.
Fixing labels to batch non-specs into three categories: infra, assets and old-tests.
Small refactoring. Adding mocha-based tests for this.