Android Implementation for Socket Listener Server/Client mode