test: improve ORTC mock
test: improve ORTC mock

improves the ice and dtls transports mocks to be more complete.
Also moves methods to the prototype to so that methods become spy-able.

fippo/rtcpeerconnection-shim,fippo/rtcpeerconnection-shim