[INTERNAL] removed the speed measurement for IBB transfers

No component in Saros was actually using the measured
transfer speeds for the IBB transport.

Change-Id: I84cd0b1dd166b163ac7752f5cc6e10429c3004a6
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/486
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] changed the time resolution to measure transfer speeds

Changed the time resolution from nanoseconds to milliseconds.

Change-Id: Ibdf490474cccc2d68bc2bb65edd626d7cbddddef
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/487
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[REFACTOR] moved the static inner TransferModeDispatch class to its own
file

Change-Id: Ic726ef655fd3ee4270f7f2fad7922a5bf96f99da
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/488
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] simplified the message of an exception

Simplified the message of the exception that is thrown
when all transport methods are exhausted and no connection
could be established to the remote user.

Change-Id: I40e45f7fd8d1961e630255a646fdde829a2cb033
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/489
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[NOP] removed unused variable

Change-Id: I3a0c23531adcec2417794c6dcf2d426ddd262b20
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/490
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] do not use SarosNet to obtain the local JID

The currentLocalJID is correctly initialized
in the connection listener.

Change-Id: I5103b68aae46eeb11abd8c4a5f090a4c692de700
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/491
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] do not close IBB connections when a user went offline

The Smack IBB stream class will throw an exception if the
reply timed out, so there is no need to close the connection
if a user went offline. Furthermore it is possible that
a user just changed its visible state and so is still
"reachable".

Change-Id: Ibc654c98d5c872a2b40ece39d8c53d36c020c2f6
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/492
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[FIX] IBB fallback mode was enabled for all connections

Switching to fallback mode for a JID caused all connections
that were established after this call to only use the
IBB transport.

Change-Id: I302c419032bfe14d4b279e16286a59274bfa8e42
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/495
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[INTERNAL] fix for commit 83a4c9dcc2d340071b896941a098b4e896265cd9

Sometimes the 'this' keyword matters.

Change-Id: I809836cf4c46dbfb974bf7f81da86f03fbffbb79
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/496
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[NOP] removed dead code

Change-Id: Ie3d5f4f1a3edfe5880540f56c8386d849ffa6f42
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/497
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>
[REFACTOR] refactored all packet extension

This should help new developers to easily add new packet extensions
if they need one.

Changed also some parts of the session synchronization protocol.

The user list is now synchronized after the session of the remote
client had started.

Change-Id: If644ad8a3407633a2351bab44dfe85ffed6763b6
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/498
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>