Port of rtl-sdr's rtl_tcp
