more tests
Connection performance: readline() replaced with some reasonable read(10k)