Parses the entire markup and rewrites all found URLs. The URLs to be
rewritten are enclosed by the tokens "wsrp-rewrite" and "/wsrp-rewrite".
Parameters: markup - The markup to be parsed for URLsto be rewritten. String representing markup incl. complete URLs.