Adding support for authentication to asynchronous socket channel implementation.  Note that the current implementation is blocking, and that needs to be addressed.