Update lib/otr.js

Handle TLV of type 1