mv conn.go to protocol