Fixed IOStream.set_nodelay for Python 2.3.