Extract links from a stream of html