Hathrington, William, Envoy to Scotland