add echo server to learn java.nio api