bflsc - handle xlink timeouts by having generic IO functions

bflsc - handle xlink timeouts by having generic IO functions