Echo-server with select.