Fix calculating len of params in nameaddr trans.

If the value of the last parameter is a quoted string, we need to include in the len calculation the closing quote too (quotes are not included in the actual value).

Closing #228.

(cherry picked from commit cf1ae2a9158699844ef15797a5b234b010a4d1c8)