exporting hidra_stream_connect for use in tcp module