Liverpool conceded their first goal of the campaign but held on to beat Leicester City to start 4-0 in Premier League table.