Use service locator for socket