don't close socket if got Eof during readBytes(ba);

fixed for more compatibility with flash api