Fix socks4 and socks4a support under glibc's source fortification