Converted to use socket99 to simplify socket creation/configuration