It isn't obvious from this patch view, but sockSend is updated with the change to line 441:

https://github.com/mozilla/r2d2b2g/pull/465/files#L0L441

This is clearer in the view of the file with the change applied:

https://github.com/mykmelez/r2d2b2g/blob/c6c268eaa995a01606c4fbd81fb56ed9ac9fd5f2/addon/lib/adb.js#L417-L442