Made imap SUBSCRIBE command do what it's supposed to. And tests.