Replace UI-thread dependent AsyncTask with plain Thread

WebSocketConnection#connect() used an AsyncTask to initialize the
TCP connection. Since AsyncTask#execute() *must* be invoked from
the UI thread it wasn't possible to initialize the websocket from other
threads.
Use a normal Thread instead for the initialization.