I would like to create a situation where the browser is connected to the HTTP server via SSL, but connects to the LS server without using SSL.

I tried setting the server address to the non-SSL URI the
Code:
setServerAddress(Uri);
but when I do that the LS client doesn't even attempt to make a connection. It only seems to try to connect if the protocol used in the URI passed to setServerAddress matches the document.location.protocol setting.

So the question is, am I able to do this sort of thing or not?

The reason I need to try this is that the connection to the LS server using SSL seems to be too slow. It seems to take quite a while to connect compared to the non-SSL protocol (presumably some sort of lengthy negotiation talking place). Also, the LS server itself seems to consume an abnormal amount of CPU when SSL connections are being used.