use bufio for reading conn