Show request and response raw data when a request is selected.
Wait for background thread to end when shutting down server. Also, close any open network channels and reset server state while shutting down. All of tghis allows the same ProxyServer object to be re-used to start the server again.