Introduced readWriter interface.
Moved protocol's authentication-related logic to prot_auth.go.
Moved protocol's connection-related logic to prot_conn.go.
Support for SSL connection.