Pylabs: Add TLS configuration methods

See: ARAKOON-432
See: http://jira.incubaid.com/browse/ARAKOON-432