Fixing problems with Fluux and with fetching proxies

A couple of bug fixes to support Fluux (and other implementations that might not have SRV DNS entries but does support the .well-known URLs) and for the calendar-proxy feature.