[Bug 3604129] Accepted patch by Gerhard Reithofer. Missing chan
parameter added to all imaptotcl* procs. Bumped version to 0.5.1.