trivial socket server using go channels