channel_decode_socks4
ret = channel_decode_socks4(c, c->input, c->output);
ret = channel_decode_socks4(c, c->output, c->input);