WebSockets support (whether WS or WSS) is not built into the Android
platform per-se.
Android has of course TCP .. and stuff like HTTP built into .. but not
WebSockets.
Instead, you need a WebSocket library/framework .. like Autobahn.
WSS is just WebSockets over a TCP connection which has been upgraded
to SSL before the WebSocket protocol kicks in.
The "problem" with adding WSS support to Autobahn is as follows.
First, if you use classic, blocking netwoork code (which also does
involve copying things around) like i.e. Weberknecht, adding SSL
is totally easy:
Now, Autobahn uses Java NIO .. for performance reasons, since it
doesn't copy things around.
Unforntunately, there doesn't seem to be an easy analog to
SocketChannel
like i.e. SSLSocketChannel.
When you Google for "Java NIO SSL" .. it seems to be non-trivial, sadly.
What's needed with Autobahn and WSS is extending the code here:
If you can help with "Java NIO SSL" stuff (how do I do that .. easily)
.. that would speed up bringing WSS to Autobahn;)
\Tobias