[WO-508] Add STARTTLS support to websocket shim