Android sockets tcp and tcpServer implementations