Add listener interface, clean up handler code
Test streaming of torrents