Added validation to protocol name. Needs client-side validations.