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.
To clarify, you're changing the type of "socket".  You modified the other functions to avoid this by changing the name of the parameter to "socketResource".  You missed this function in an earlier cleanup.