accept connections
echo input to output