The TCP server part of the Android NFC-WiFi Controller application