Add some debug to ws upgrade.