Updated for newer version of rust
Genericized echo to handle any Reader + Writer + Send; transfer uses trait objects in lieu of type params