code: public String printHead() throws IOException {
          final ByteArrayOutputStream baos = new ByteArrayOutputStream();
          this.printHead(baos);
          return new Utf8String(baos.toByteArray()).asString();
      }
docs: Print head into string.
  @return Entire head of HTTP response
  @throws IOException If fails
  @since 0.10