Input validation for arping and escaping. Fixes #3462