Fixed another socket bug.