Reject bucket names that are IP addresses

also if (!(/^\d+$/.test(part))) { return false; }

parseInt(part, 10) returns 0 if part is '0abc'