code: public void setMessage(String data, boolean isSecure) throws HttpMalformedHeaderException {
          super.setMessage(data);
          
          try {
              parse(isSecure);
          
          } catch (HttpMalformedHeaderException e) {
              mMalformedHeader = true;
              if (log.isDebugEnabled()) {
                  log.debug("Malformed header: " + data, e);
              }
              
              throw e;
          
          } catch (Exception e) {
              log.error("Failed to parse:\n" + data, e);
              mMalformedHeader = true;
              throw new HttpMalformedHeaderException(e.getMessage());
          }
      }
docs: Set this request header with the given message.
  
  @param data the request header
  @param isSecure {@code true} if the request should be secure, {@code false} otherwise
  @throws HttpMalformedHeaderException if the request being set is malformed
  @see #setSecure(boolean)