Remove unused socket_fd parameter from some imap functions.

Signed-off-by: Thiago Farina <tfarina@chromium.org>