fixed exception handling of websocket client and now accepting all certificates (for testing)