update initial IDs used for next incoming/outgoing transfer to match what we actually use
add support for using drain to stop links
dont begin the next transaction before releasing the prefetched messages