West Ham United maintained their unbeaten start to the season but were twice pegged back in a 2-2 draw against Crystal Palace at London Stadium.