The only plumbing fitting I know of with an Allen socket is the tap extension fitting (see picture).
From your photo it looks more like a male to male adapter/reducer. I will remove it and fit a shower pipe with the male thread.
I was wondering if it would be possible to pump water from the Breede River to Theewaterskloof, but I found an old document saying that the river is polluted by farming activities.