Description
IMAP methods can return large amounts of data.
The IMap.__getReply() method collects all the reply lines in a list which is converted to a string before being passed to SocketClient#fireReplyReceived(int, String).
If there are no listeners, the string conversion is unnecessary, and could be very expensive.
The fireReplyReceived method could be overridden to avoid this.