added encoder for nw type and serving nw
added serving nw ie