fixed syntax error in CustomSockets