Fix socket type to inet:socket/0.