Make scanner's instance variables private

The IMAP scanner contains two public instance variables. These are only
used internally and there's no real need to keep them public. Make them
private instead.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>