Merge changes from topic 'sni'

* changes:
  Add API to honor TLS cipher suites order
  Add SNI support to TLS sockets