code: public void addHeaderField(final String name, final String value)
      {
          writer.append(name + ": " + value).append(LINE_FEED);
          writer.flush();
      }
docs: Adds a header field to the request.
  @param name - name of the header field
  @param value - value of the header field