SOCKS5 proxy server implementation in Objective-C