Updated chrome app library

- Converted encoded data from UInt8Array to an ArrayBuffer since chrome.sockets api require this to work