#1158 Removed unnecessary changes from LanternSocketsUtil