sock proxy is working bidirectional now but needs a refactor
I hate how indexOf works like this, not the first time, ugh