Control of client socket is now done in imapProtocol object.
Added the three global commands

Signed-off-by: Michel Verbraak <info@1st-setup.nl>