Move socket host to config