code: public void processSubscribe(long timeout, int statusCode, String reasonPhrase) {
      processSubscribe(timeout, statusCode, reasonPhrase, -1, null);
    }
docs: This method starts a thread that waits for up to 'timeout' milliseconds to receive a SUBSCRIBE
  and if received, it sends a response with 'statusCode' and 'reasonPhrase' (if not null). This
  method waits 500 ms before returning to allow the thread to get started and begin waiting for
  an incoming SUBSCRIBE. This method adds 500ms to the given timeout to account for this delay.
  
  @param timeout - number of milliseconds to wait for the SUBSCRIBE
  @param statusCode - use in the response to the SUBSCRIBE
  @param reasonPhrase - if not null, use in the SUBSCRIBE response