changed to reference the current host for hte socket urls