Add some basic server-side validation to the contact form.