433262 - WebSocket / Advanced close use cases

+ because of the race condition in close on testNetworkCongestion(), the
  test has been modified to allow for either close condition as valid.