[connman] handle http status code 505

Some portals are not happy with connman trying to access the redirected urls directly without referrer info etc.