Bug fixes to flow control code; put correct dlpi header on data