Replace duplexer with Socket proxy to handle destroy method