- changed println to java logging
- asking java for the broadcast address instead of calculating it
- quitting the main looper on disconnect (LFXNetworkContext)