fix(SocketHandle): compiler error in vs preview