Adding validation to RFC 1123