core: Workaround defines in socks.h

socks.h defines send to Rsend which also affected the name of
TCPSocket::send().

Fixes Gentoo bug 484706