moved ssl settings out of connection and into a stream decorator.
ported security down and added specialized authentication connection and factory for authentication needs.