fix TCP chrome.socket.read behavior for reads smaller than the requested read size
https://github.com/MobileChromeApps/mobile-chrome-apps/issues/64