West Ham edged themselves a step closer to Premier League safety with a scoreless draw against Crystal Palace at Selhurst Park.