Split the packet handler's Handle() method into 3 distinct parts for authentication, proxy request extraction, and proxy handling. This is similar to what was done with the TCP handler in #173.
There's more refactoring that can be done in future PRs, but this should make it easier to follow what's happening.
Split the packet handler's
Handle()
method into 3 distinct parts for authentication, proxy request extraction, and proxy handling. This is similar to what was done with the TCP handler in #173.There's more refactoring that can be done in future PRs, but this should make it easier to follow what's happening.