Fix #3482 - typo in socket.jl