filter content to rewrite image src to https

Unless otherwise specified, all code here is licensed GPLv2