code: public int readMessages(Reader is)
      throws IOException
    {
      //InboxAmp oldInbox = null;
      
      try (OutboxAmp outbox = OutboxAmp.currentOrCreate(getManager())) {
        //OutboxThreadLocal.setCurrent(_outbox);
        return readMessages(is, outbox);
      } finally {
        //OutboxThreadLocal.setCurrent(null);
      }
    }
docs: Reads the next HMTP packet from the stream, returning false on
  end of file.