Portable Raw Socket API for Firefox OS & Chrome Packaged Apps