Match the URL schemes between WP_CONTENT_URL and $src so the str_replace further down will work
Merge pull request #54 from cftp/feature/match-url-schemes

Match the URL schemes. You're a beautiful man Mr Wheatley :)