accepts and echos connections