Described tls options in api documentation

Signed-off-by: Kirill Mikhailov <kirill.mikhailov@gmail.com>
Added TLS transport use example

Signed-off-by: Kirill Mikhailov <kirill.mikhailov@gmail.com>