copied client code from caox/erlmail
added missed module smtpc_fsm
header file refactoring.
define socket_util as a wrapper of 'gen_tcp' ans 'ssl'.
Applied socket_util in smtpc to make the code consistent for both ssl and gen_tcp.