adopt any-to-tcp feature to the recursor. Based on a patch by Winfried Angele. Closes #836