Add Websocket Support to pepper.js with testing infrastructure

Right now pepper.js doesn't support the websocket interfaces that ppapi presents.
This implements the interfaces and provides a testing suite to test them.
This function is correct but looks a little suspicious unless you know the callback is deferred until the next turn of the event loop.  Swapping the assignment block and the if statement would avoid the need to thinking or a comment explaining why you don't have to think. :)