[WO-570] Fix cert pinning when using forge

* Chrome shim: Remove illegal call to forge in chrome.socket.secure case
* WebSocket shim: Remove missing cert assignment for STARTTLS case
* Add unit test cases for both issues