Add WebSocket Support

Replace simple implementation with Chrome sample
Update http.js to use newer chrome.sockets API

Still some bugs to work out...