Implementing two way TSL authentication support. Added support for optional client authentication.