[COOK-4018] Add TLS encryption support for client and server

https://tickets.opscode.com/browse/COOK-4018