added client authentication support
Merge pull request #91 from sportngin/clientauth

Client authentication