code: public Message peek() throws IOException {
          Messages msgs = peek(1);
          Message msg;
          try {
              msg = msgs.getMessage(0);
          } catch (IndexOutOfBoundsException e) {
              throw new EmptyQueueException();
          }
  
          return msg;
      }
docs: Peeking at a queue returns the next messages on the queue, but it does not reserve them.
  If there are no items on the queue, an EmptyQueueException is thrown.
  
  @throws io.iron.ironmq.EmptyQueueException If the queue is empty.
  @throws io.iron.ironmq.HTTPException       If the IronMQ service returns a status other than 200 OK.
  @throws java.io.IOException         If there is an error accessing the IronMQ server.