West Ham held onto their unbeaten start to the Premier League season, but were held to a disappointing draw as Crystal Palace scored two second half goals.