I think hard coding is a bit ugly of course, but tolerable. I think it's better than adding options and injecting code.

If we can figure out a better way to solve it in the future, let's do it then.

_(I'm not sure, but we could maybe solve it with a proxy without having to change OS-settings. I know Emacs have some internal stuff for this.)_