Fix session termination on OSX.

Like the previous commit, there
appears to be difering empty bulk
transfer behavior on differetnt OSes,

This fixes session termination on OSX.
Fix session initiation on OSX.

Similar to previous patch, fix
empty transfers during session init on
OS X.