A little more, this has been a useful problem, I know how to talk to an IMAP server via telnet now
Trying to create a shared folder in the #shared. namespace gives an "access denied" message about needing acl "c".
I don't really need top-level folder creation from thunderbird so I think I'm going to table this issue for now.