simple mina socket data transfer