Whenever you're ready, walk me through how you'd approach this.
Explain a time you had to refactor legacy code to improve performance without breaking existing functionality in a networking context.