More additions to the smb.js library