Update SocketLayer.cpp