Fix avatars in ACP which use https, ftp or ftps.

Ok, hopefully this went right this time.

This adds that remote avatars which use https://, ftp//: or ftps:// are displayed properly, otherwise a ../ is added and not displayed. Current code only supports http://.