Added server-side validation for addresses