A Victorian stalker who tormented two women has been jailed, with a magistrate describing his offending as "a relentless and protracted campaign of abuse".