Andrew|Pete - allow overriding of socket location