look for endpoint in link header

discoverEndpoint:

tries to get endpoint from header link, else does usual