This is about implementation of S5B client and server that allow using SOCKS5 bytestream over GIOStream objects.
Implementation can be found at:
It's contains two classes, WockyS5BServer and WockyS5BClient. The server is based on GListener. It allows one remote connection that match SHA1(SID + Requester + Target). Connections are retrieved by calling wocky_s5b_server_accept().
The client connects to remote SOCKS5 streamhost computing required SHA1. The client implementation uses GLib internal implementation of SOCKS5 client which has been introduced in 2.25.15.