[x] Figure out how to pass the reuse_address option in to listen_on
[x] Add websocket version of sessions test
[x] Verify that WASM-client doesn't have the same error-eating behavior. This is a slight behavior change/guarantee that is important to this feature.
[x] Document reconnect behavior
This PR addresses the ability for a Client to recognize that it has lost its authentication. This also fixes a lot of server shutdown and client reconnecting issues that were discovered in the process. There is one test that specifically targets this feature, which puts the server shutdown and client reconnection logic under code coverage finally.
During the implementation of this, I realized that each client was behaving a little differently with error propagation. All clients should now have identical error reporting behavior when a client disconnects.
Closes #264.
This PR addresses the ability for a Client to recognize that it has lost its authentication. This also fixes a lot of server shutdown and client reconnecting issues that were discovered in the process. There is one test that specifically targets this feature, which puts the server shutdown and client reconnection logic under code coverage finally.
During the implementation of this, I realized that each client was behaving a little differently with error propagation. All clients should now have identical error reporting behavior when a client disconnects.