public void execute() throws IOException {
  String key="mqtt-" + (System.currentTimeMillis() / 1000);
  String b64Key=Base64.encode(key);
  sendHandshakeRequest(b64Key);
  receiveHandshakeResponse(b64Key);
}

public void execute ( ) throws IOException { String key = "mqtt-" + ( System . currentTimeMillis ( ) / 1000 ) ; String b64Key = Base64 . encode ( key ) ; sendHandshakeRequest ( b64Key ) ; receiveHandshakeResponse ( b64Key ) ; }
executes a websocket handshake . will throw an ioexception if the handshake fails
