pass peerid to handle_connect/disconnect