Add handling for DECLINE, RELEASE and INFORM message types and updated device handling.