further handle_connection implementation