Add return value to sendmsg.
Test for webrtc sockets.
Minor fixes for webrtc test.
Merge pull request #1513 from modeswitch/webrtc-tests

Webrtc test